package cn.zyq.charging.order.dao.mapper;

import cn.zyq.charging.order.pojo.po.ChargingBillSuccessPO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

//注： mybatis-plus和mybatis可以共存， 但mybatis-plus只能操作一张表，复杂的多表关联查询需要用mybatis框架
/**OrderRepositoryImpl中调用本接口的方法了*/
@Mapper//注：这里别用@Repository注解，否则没作用。
public interface OrderSuccessMapper extends BaseMapper<ChargingBillSuccessPO> {
    /**给charging_bill_success表插入订单成功数据*/
   //@Insert("insert into charging_bill_success(bill_id,bill_status)  values (#{billId},#{billStatus})")
   void insertSuccessOrder(ChargingBillSuccessPO chargingBillSuccessPO);
}//24天前 //https://gitee.com/xiaoxinzhss/jsd240328-tedu-charging-service/compare/40059b5591fe58b4a82288944b94119ecddcaf07...ebc336ae3ce3da46e7ce3c914c90b10c19902f9f